<html>
<head>
<title>success.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #e8bf6a;}
.s1 { color: #bababa;}
.s2 { color: #a9b7c6;}
.s3 { color: #a5c261;}
.s4 { color: #048004;}
.s5 { color: #cc7832; font-weight: bold;}
.s6 { color: #6a8759;}
.s7 { color: #cc7832;}
.s8 { color: #6d9cbe;}
.ls0 { height: 1px; border-width: 0; color: #4d4d4d; background-color:#4d4d4d}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
success.html</font>
</center></td></tr></table>
<pre><span class="s0">&lt;!DOCTYPE </span><span class="s1">html</span><span class="s0">&gt;</span>
&lt;html <span class="s1">lang=</span><span class="s3">&quot;zh&quot; </span><span class="s1">xmlns:th=</span><span class="s3">&quot;http://www.thymeleaf.org&quot;</span><span class="s0">&gt;</span>
&lt;head&gt;
    &lt;meta <span class="s1">charset=</span><span class="s3">&quot;UTF-8&quot;</span><span class="s0">&gt;</span>
    &lt;title&gt;<span class="s2">Title</span><span class="s0">&lt;/title&gt;</span>
&lt;/head&gt;
&lt;link <span class="s1">href=</span><span class="s3">&quot;https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css&quot; </span><span class="s1">rel=</span><span class="s3">&quot;stylesheet&quot;</span><span class="s0">&gt;</span>
&lt;script <span class="s1">src=</span><span class="s3">&quot;https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js&quot;</span><span class="s0">&gt;&lt;/script&gt;</span>
<span class="s4">&lt;!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 --&gt;</span>
<span class="s0">&lt;script </span><span class="s1">src=</span><span class="s3">&quot;https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js&quot;</span><span class="s0">&gt;&lt;/script&gt;</span>
&lt;script <span class="s1">type=</span><span class="s3">&quot;text/javascript&quot;</span><span class="s0">&gt;</span>
    <span class="s4">//点击新增按钮弹出模态框。</span>
    <span class="s5">function </span><span class="s2">gettjmtk() {</span>
        $(<span class="s6">&quot;#empAddModal&quot;</span><span class="s2">).modal({</span>
            backdrop: <span class="s6">&quot;static&quot;</span>
        <span class="s2">})</span><span class="s7">;</span>
    <span class="s2">}</span><span class="s7">;</span>
<hr class="ls0">    <span class="s4">//点击编辑按钮弹出模态框。</span>
    <span class="s5">function </span><span class="s2">updatetjmtk(obj) {</span>
        <span class="s5">var </span><span class="s2">spid = obj.getAttribute(</span><span class="s6">&quot;id&quot;</span><span class="s2">)</span><span class="s7">;</span>
        <span class="s2">$.ajax({</span>
            url: <span class="s6">&quot;/ypxspt/sysSpkfk/getspkfk/&quot; </span><span class="s2">+ spid</span><span class="s7">,</span>
            <span class="s2">type: </span><span class="s6">'GET'</span><span class="s7">,</span><hr class="ls0">            <span class="s2">success: </span><span class="s5">function </span><span class="s2">(result) {</span><hr class="ls0">                <span class="s4">//console.log(retult);</span>
                <span class="s2">$(</span><span class="s6">&quot;#empUpdateModal&quot;</span><span class="s2">).modal({</span>
                    backdrop: <span class="s6">&quot;static&quot;</span>
                <span class="s2">})</span><span class="s7">;</span>
                <span class="s2">$(</span><span class="s6">&quot;#spid_update_static&quot;</span><span class="s2">).text(result.spid)</span><span class="s7">;</span>
                <span class="s2">$(</span><span class="s6">&quot;#spmch_update_input&quot;</span><span class="s2">).val(result.spmch)</span><span class="s7">;</span>
                <span class="s2">$(</span><span class="s6">&quot;#shpgg_update_input&quot;</span><span class="s2">).val(result.shpgg)</span><span class="s7">;</span>
                <span class="s2">$(</span><span class="s6">&quot;#shpchd_update_input&quot;</span><span class="s2">).val(result.shpchd)</span><span class="s7">;</span>
                <span class="s2">$(</span><span class="s6">&quot;#pizhwh_update_input&quot;</span><span class="s2">).val(result.pizhwh)</span><span class="s7">;</span>
                <span class="s2">$(</span><span class="s6">&quot;#emp_update_btn&quot;</span><span class="s2">).val(result.spid)</span><span class="s7">;</span>
            <span class="s2">}</span>
        })<span class="s7">;</span>
    <span class="s2">}</span><span class="s7">;</span>
<hr class="ls0">    <span class="s5">function </span><span class="s2">updatespkfk(obj) {</span>
        <span class="s5">var </span><span class="s2">spid = obj.getAttribute(</span><span class="s6">&quot;value&quot;</span><span class="s2">)</span><span class="s7">;</span>
        <span class="s2">$.ajax({</span>
            url: <span class="s6">&quot;/ypxspt/sysSpkfk/editspkfk/&quot; </span><span class="s2">+ spid</span><span class="s7">,</span>
            <span class="s2">type: </span><span class="s6">'PUT'</span><span class="s7">,</span>
            <span class="s2">data: $(</span><span class="s6">&quot;#empUpdateModal form&quot;</span><span class="s2">).serialize()</span><span class="s7">,</span><hr class="ls0">            <span class="s2">success: </span><span class="s5">function </span><span class="s2">(result) {</span><hr class="ls0">                <span class="s5">if </span><span class="s2">(result != </span><span class="s5">null</span><span class="s2">) {</span>
                    alert(<span class="s6">&quot;更新成功！！！&quot;</span><span class="s2">)</span><span class="s7">;</span>
                    <span class="s2">$(</span><span class="s6">&quot;#empUpdateModal&quot;</span><span class="s2">).modal(</span><span class="s6">'hide'</span><span class="s2">)</span><span class="s7">;</span>
                <span class="s2">}</span>
            }
        })<span class="s7">;</span>
    <span class="s2">}</span><span class="s7">;</span>
<hr class="ls0">    <span class="s5">function </span><span class="s2">savespkfk() {</span>
        $.ajax({
            url: <span class="s6">&quot;/ypxspt/sysSpkfk/insertspkfk&quot;</span><span class="s7">,</span>
            <span class="s2">type: </span><span class="s6">'POST'</span><span class="s7">,</span>
            <span class="s2">data: $(</span><span class="s6">&quot;#empAddModal form&quot;</span><span class="s2">).serialize()</span><span class="s7">,</span><hr class="ls0">            <span class="s2">success: </span><span class="s5">function </span><span class="s2">(result) {</span><hr class="ls0">                <span class="s5">if </span><span class="s2">(result != </span><span class="s5">null</span><span class="s2">) {</span>
                    alert(<span class="s6">&quot;添加商品成功！！！&quot;</span><span class="s2">)</span>
                    $(<span class="s6">&quot;#empAddModal&quot;</span><span class="s2">).modal(</span><span class="s6">'hide'</span><span class="s2">)</span><span class="s7">;</span>
                <span class="s2">}</span>
            }
        })<span class="s7">;</span>
    <span class="s2">}</span><span class="s7">;</span>

    <span class="s2">$(document).on(</span><span class="s6">&quot;click&quot;</span><span class="s7">, </span><span class="s6">&quot;.delete_btn&quot;</span><span class="s7">, </span><span class="s5">function </span><span class="s2">() {</span>
        <span class="s5">var </span><span class="s2">spmch = $(</span><span class="s5">this</span><span class="s2">).parents(</span><span class="s6">&quot;tr&quot;</span><span class="s2">).find(</span><span class="s6">&quot;th:eq(2)&quot;</span><span class="s2">).text()</span><span class="s7">;</span>
        <span class="s5">if </span><span class="s2">(confirm(</span><span class="s6">&quot;确认删除【&quot; </span><span class="s2">+ spmch + </span><span class="s6">&quot;】吗？&quot;</span><span class="s2">)) {</span>
            deletspkfk(<span class="s5">this</span><span class="s2">)</span><span class="s7">;</span>
        <span class="s2">}</span>
    })<span class="s7">;</span>
<hr class="ls0">    <span class="s5">function </span><span class="s2">deletspkfk(obj) {</span>
        <span class="s5">var </span><span class="s2">spid = obj.getAttribute(</span><span class="s6">&quot;value&quot;</span><span class="s2">)</span><span class="s7">;</span>
        <span class="s2">$.ajax({</span>
            url: <span class="s6">&quot;/ypxspt/sysSpkfk/deletespkfk/&quot; </span><span class="s2">+ spid</span><span class="s7">,</span>
            <span class="s2">type: </span><span class="s6">'delete'</span><span class="s7">,</span><hr class="ls0">            <span class="s2">success: </span><span class="s5">function </span><span class="s2">(result) {</span><hr class="ls0">                <span class="s5">if </span><span class="s2">(result != </span><span class="s5">null</span><span class="s2">) {</span>
                    alert(<span class="s6">&quot;删除成功！！！&quot;</span><span class="s2">)</span><span class="s7">;</span>
                <span class="s2">}</span>
            }<span class="s7">,</span>
        <span class="s2">})</span><span class="s7">;</span>
    <span class="s2">}</span><span class="s7">;</span>
<span class="s0">&lt;/script&gt;</span>
&lt;body&gt;
<span class="s4">&lt;!--修改商品信息的模态框--&gt;</span>
<span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s3">&quot;empUpdateModal&quot; </span><span class="s1">tabindex=</span><span class="s3">&quot;-1&quot; </span><span class="s1">role=</span><span class="s3">&quot;dialog&quot; </span><span class="s1">aria-labelledby=</span><span class="s3">&quot;myModalLabel&quot;</span><span class="s0">&gt;</span>
    &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-dialog&quot; </span><span class="s1">role=</span><span class="s3">&quot;document&quot;</span><span class="s0">&gt;</span>
        &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-content&quot;</span><span class="s0">&gt;</span>
            &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-header&quot;</span><span class="s0">&gt;</span>
                &lt;button <span class="s1">type=</span><span class="s3">&quot;button&quot; </span><span class="s1">class=</span><span class="s3">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s3">&quot;modal&quot; </span><span class="s1">aria-label=</span><span class="s3">&quot;Close&quot;</span><span class="s0">&gt;&lt;span </span><span class="s1">aria-hidden=</span><span class="s3">&quot;true&quot;</span><span class="s0">&gt;</span><span class="s8">&amp;times;</span><span class="s0">&lt;/span&gt;</span>
                &lt;/button&gt;
                &lt;h4 <span class="s1">class=</span><span class="s3">&quot;modal-title&quot;</span><span class="s0">&gt;</span><span class="s2">修改商品信息</span><span class="s0">&lt;/h4&gt;</span>
            &lt;/div&gt;
            &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-body&quot;</span><span class="s0">&gt;</span>
                &lt;form <span class="s1">class=</span><span class="s3">&quot;form-horizontal&quot;</span><span class="s0">&gt;</span>
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品ID号</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;p <span class="s1">class=</span><span class="s3">&quot;form-control-static&quot; </span><span class="s1">id=</span><span class="s3">&quot;spid_update_static&quot;</span><span class="s0">&gt;&lt;/p&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品名称</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;spmch&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;spmch_update_input&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品规格</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;shpgg&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;shpgg_update_input&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品产地</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;shpchd&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;shpchd_update_input&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">批准文号</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;pizhwh&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;pizhwh_update_input&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/form&gt;
            &lt;/div&gt;
            &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-footer&quot;</span><span class="s0">&gt;</span>
                &lt;button <span class="s1">type=</span><span class="s3">&quot;button&quot; </span><span class="s1">class=</span><span class="s3">&quot;btn btn-default&quot; </span><span class="s1">data-dismiss=</span><span class="s3">&quot;modal&quot;</span><span class="s0">&gt;</span><span class="s2">关闭</span><span class="s0">&lt;/button&gt;</span>
                &lt;button <span class="s1">type=</span><span class="s3">&quot;button&quot; </span><span class="s1">class=</span><span class="s3">&quot;btn btn-primary&quot; </span><span class="s1">id=</span><span class="s3">&quot;emp_update_btn&quot; </span><span class="s1">onclick=</span><span class="s3">&quot;</span><span class="s2">updatespkfk(</span><span class="s5">this</span><span class="s2">)</span><span class="s3">&quot;</span><span class="s0">&gt;</span><span class="s2">更新</span>
                <span class="s0">&lt;/button&gt;</span>
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

<span class="s4">&lt;!-- 添加商品信息的模态框 --&gt;</span>
<span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s3">&quot;empAddModal&quot; </span><span class="s1">tabindex=</span><span class="s3">&quot;-1&quot; </span><span class="s1">role=</span><span class="s3">&quot;dialog&quot; </span><span class="s1">aria-labelledby=</span><span class="s3">&quot;myModalLabel&quot;</span><span class="s0">&gt;</span>
    &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-dialog&quot; </span><span class="s1">role=</span><span class="s3">&quot;document&quot;</span><span class="s0">&gt;</span>
        &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-content&quot;</span><span class="s0">&gt;</span>
            &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-header&quot;</span><span class="s0">&gt;</span>
                &lt;button <span class="s1">type=</span><span class="s3">&quot;button&quot; </span><span class="s1">class=</span><span class="s3">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s3">&quot;modal&quot; </span><span class="s1">aria-label=</span><span class="s3">&quot;Close&quot;</span><span class="s0">&gt;&lt;span </span><span class="s1">aria-hidden=</span><span class="s3">&quot;true&quot;</span><span class="s0">&gt;</span><span class="s8">&amp;times;</span><span class="s0">&lt;/span&gt;</span>
                &lt;/button&gt;
                &lt;h4 <span class="s1">class=</span><span class="s3">&quot;modal-title&quot; </span><span class="s1">id=</span><span class="s3">&quot;myModalLabel&quot;</span><span class="s0">&gt;</span><span class="s2">添加商品信息</span><span class="s0">&lt;/h4&gt;</span>
            &lt;/div&gt;
            &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-body&quot;</span><span class="s0">&gt;</span>
                &lt;form <span class="s1">class=</span><span class="s3">&quot;form-horizontal&quot;</span><span class="s0">&gt;</span>
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品ID号</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;spid&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;spid_add_input&quot;</span>
                                   <span class="s1">placeholder=</span><span class="s3">&quot;商品ID号，以SPH开头&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品名称</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;spmch&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;spmch_add_input&quot;</span>
                                   <span class="s1">placeholder=</span><span class="s3">&quot;商品名称&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品规格</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;shpgg&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;shpgg_add_input&quot;</span>
                                   <span class="s1">placeholder=</span><span class="s3">&quot;商品规格&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">商品产地</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;shpchd&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;shpchd_add_input&quot;</span>
                                   <span class="s1">placeholder=</span><span class="s3">&quot;商品产地&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div <span class="s1">class=</span><span class="s3">&quot;form-group&quot;</span><span class="s0">&gt;</span>
                        &lt;label <span class="s1">class=</span><span class="s3">&quot;col-sm-2 control-label&quot;</span><span class="s0">&gt;</span><span class="s2">批准文号</span><span class="s0">&lt;/label&gt;</span>
                        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-10&quot;</span><span class="s0">&gt;</span>
                            &lt;input <span class="s1">type=</span><span class="s3">&quot;text&quot; </span><span class="s1">name=</span><span class="s3">&quot;pizhwh&quot; </span><span class="s1">class=</span><span class="s3">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s3">&quot;pizhwh_add_input&quot;</span>
                                   <span class="s1">placeholder=</span><span class="s3">&quot;批准文号&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;help-block&quot;</span><span class="s0">&gt;&lt;/span&gt;</span>
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/form&gt;
            &lt;/div&gt;
            &lt;div <span class="s1">class=</span><span class="s3">&quot;modal-footer&quot;</span><span class="s0">&gt;</span>
                &lt;button <span class="s1">type=</span><span class="s3">&quot;button&quot; </span><span class="s1">class=</span><span class="s3">&quot;btn btn-default&quot; </span><span class="s1">data-dismiss=</span><span class="s3">&quot;modal&quot;</span><span class="s0">&gt;</span><span class="s2">关闭</span><span class="s0">&lt;/button&gt;</span>
                &lt;button <span class="s1">type=</span><span class="s3">&quot;button&quot; </span><span class="s1">class=</span><span class="s3">&quot;btn btn-primary&quot; </span><span class="s1">id=</span><span class="s3">&quot;emp_save_btn&quot; </span><span class="s1">onclick=</span><span class="s3">&quot;</span><span class="s2">savespkfk()</span><span class="s3">&quot;</span><span class="s0">&gt;</span><span class="s2">保存</span><span class="s0">&lt;/button&gt;</span>
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;div <span class="s1">class=</span><span class="s3">&quot;container&quot;</span><span class="s0">&gt;</span>
    <span class="s4">&lt;!--标题--&gt;</span>
    <span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;row&quot;</span><span class="s0">&gt;</span>
        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-md-12&quot;</span><span class="s0">&gt;</span>
            &lt;h1&gt;<span class="s2">商品资料-CRUD</span><span class="s0">&lt;/h1&gt;</span>
        &lt;/div&gt;
    &lt;/div&gt;
    <span class="s4">&lt;!--&amp;lt;!&amp;ndash;搜索条件&amp;ndash;&amp;gt;--&gt;</span>
    &lt;!--&lt;div class=&quot;col-sm-12 search-collapse&quot;&gt;--&gt;
    &lt;!--&lt;form id=&quot;formId&quot;&gt;--&gt;
    &lt;!--&lt;div class=&quot;select-list&quot;&gt;--&gt;
    &lt;!--&lt;ul&gt;--&gt;
    &lt;!--&lt;li&gt;--&gt;
    &lt;!--&lt;p&gt;搜索条件：&lt;/p&gt;--&gt;
    &lt;!--&lt;input type=&quot;text&quot; name=&quot;spmch&quot;/&gt;--&gt;
    &lt;!--&lt;/li&gt;--&gt;
    &lt;!--&lt;li&gt;--&gt;
    &lt;!--&lt;a th:href=&quot;@{/ypxspt/sysSpkfk/getspkfkbyspmch/}&quot; class=&quot;btn btn-primary btn-rounded btn-sm&quot;&gt;&lt;i class=&quot;fa fa-search&quot;&gt;&lt;/i&gt;&amp;nbsp;搜索&lt;/a&gt;--&gt;
    &lt;!--&lt;/li&gt;--&gt;
    &lt;!--&lt;/ul&gt;--&gt;
    &lt;!--&lt;/div&gt;--&gt;
    &lt;!--&lt;/form&gt;--&gt;
    &lt;!--&lt;/div&gt;--&gt;
    &lt;!--按钮--&gt;
    <span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;row&quot;</span><span class="s0">&gt;</span>
        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-md-4 col-md-offset-8&quot;</span><span class="s0">&gt;</span>
            &lt;button <span class="s1">class=</span><span class="s3">&quot;btn btn-primary&quot; </span><span class="s1">id=</span><span class="s3">&quot;emp_add_modal_btn&quot; </span><span class="s1">onclick=</span><span class="s3">&quot;</span><span class="s2">gettjmtk()</span><span class="s3">&quot;</span><span class="s0">&gt;</span><span class="s2">新增</span><span class="s0">&lt;/button&gt;</span>
            &lt;button <span class="s1">class=</span><span class="s3">&quot;btn btn-danger&quot;</span><span class="s0">&gt;</span><span class="s2">删除</span><span class="s0">&lt;/button&gt;</span>
        &lt;/div&gt;
    &lt;/div&gt;
    <span class="s4">&lt;!--显示的表格数据--&gt;</span>
    <span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;row&quot;</span><span class="s0">&gt;</span>
        &lt;div <span class="s1">class=</span><span class="s3">&quot;col-sm-12&quot;</span><span class="s0">&gt;</span>
            &lt;table <span class="s1">class=</span><span class="s3">&quot;table table-bordered table-hover&quot; </span><span class="s1">id=</span><span class="s3">&quot;spkfk&quot;</span><span class="s0">&gt;</span>
                &lt;tr&gt;
                    &lt;th&gt;<span class="s2">#</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;<span class="s2">商品ID号</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;<span class="s2">商品名称</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;<span class="s2">商品规格</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;<span class="s2">商品产地</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;<span class="s2">批准文号</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;<span class="s2">操作</span><span class="s0">&lt;/th&gt;</span>
                &lt;/tr&gt;
                &lt;tr <span class="s1">th:each=</span><span class="s3">&quot;sysSpkfk : ${pageInfo.list}&quot;</span><span class="s0">&gt;</span>
                    &lt;th&gt;&lt;input <span class="s1">type=</span><span class="s3">'checkbox' </span><span class="s1">class=</span><span class="s3">'check_item'</span><span class="s0">/&gt;&lt;/th&gt;</span>
                    &lt;th <span class="s1">th:text=</span><span class="s3">&quot;${sysSpkfk.spid}&quot;</span><span class="s0">&gt;</span><span class="s2">商品ID号</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th <span class="s1">th:text=</span><span class="s3">&quot;${sysSpkfk.spmch}&quot;</span><span class="s0">&gt;</span><span class="s2">商品名称</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th <span class="s1">th:text=</span><span class="s3">&quot;${sysSpkfk.shpgg}&quot;</span><span class="s0">&gt;</span><span class="s2">商品规格</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th <span class="s1">th:text=</span><span class="s3">&quot;${sysSpkfk.shpchd}&quot;</span><span class="s0">&gt;</span><span class="s2">商品产地</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th <span class="s1">th:text=</span><span class="s3">&quot;${sysSpkfk.pizhwh}&quot;</span><span class="s0">&gt;</span><span class="s2">批准文号</span><span class="s0">&lt;/th&gt;</span>
                    &lt;th&gt;
                        &lt;button <span class="s1">class=</span><span class="s3">&quot;btn btn-primary btn-sm&quot; </span><span class="s1">onclick=</span><span class="s3">&quot;</span><span class="s2">updatetjmtk(</span><span class="s5">this</span><span class="s2">)</span><span class="s3">&quot; </span><span class="s1">th:id=</span><span class="s3">&quot;${sysSpkfk.spid}&quot;</span>
                                <span class="s1">th:value=</span><span class="s3">&quot;${sysSpkfk.spid}&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;glyphicon glyphicon-pencil&quot; </span><span class="s1">aria-hidden=</span><span class="s3">&quot;true&quot;</span><span class="s0">&gt;</span><span class="s2">编辑</span><span class="s0">&lt;/span&gt;</span>
                        &lt;/button&gt;
                        &lt;button <span class="s1">class=</span><span class="s3">&quot;btn btn-danger btn-sm delete_btn&quot; </span><span class="s1">th:id=</span><span class="s3">&quot;${sysSpkfk.spid}&quot;</span>
                                <span class="s1">th:value=</span><span class="s3">&quot;${sysSpkfk.spid}&quot;</span><span class="s0">&gt;</span>
                            &lt;span <span class="s1">class=</span><span class="s3">&quot;glyphicon glyphicon-trash&quot; </span><span class="s1">aria-hidden=</span><span class="s3">&quot;true&quot;</span><span class="s0">&gt;</span><span class="s2">删除</span><span class="s0">&lt;/span&gt;</span>
                        &lt;/button&gt;
                    &lt;/th&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
            <span class="s4">&lt;!-- 显示分页信息 --&gt;</span>
            <span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;row&quot;</span><span class="s0">&gt;</span>
                <span class="s4">&lt;!--分页文字信息  --&gt;</span>
                <span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;col-md-6&quot;</span>
                     <span class="s1">th:text=</span><span class="s3">&quot;'当前'+${pageInfo.pageNum} +'页,共'+${pageInfo.pages}+'页,共'+${pageInfo.total}+'条记录'&quot;</span><span class="s0">&gt;&lt;/div&gt;</span>
                <span class="s4">&lt;!-- 分页条信息 --&gt;</span>
                <span class="s0">&lt;div </span><span class="s1">class=</span><span class="s3">&quot;col-md-6&quot;</span><span class="s0">&gt;</span>
                    &lt;nav <span class="s1">aria-label=</span><span class="s3">&quot;Page navigation&quot;</span><span class="s0">&gt;</span>
                        &lt;ul <span class="s1">class=</span><span class="s3">&quot;pagination&quot;</span><span class="s0">&gt;</span>
                            &lt;li&gt;
                                &lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot; </span><span class="s1">aria-label=</span><span class="s3">&quot;Previous&quot;</span><span class="s0">&gt;</span>
                                    &lt;span <span class="s1">aria-hidden=</span><span class="s3">&quot;true&quot;</span><span class="s0">&gt;</span><span class="s8">&amp;laquo;</span><span class="s0">&lt;/span&gt;</span>
                                &lt;/a&gt;
                            &lt;/li&gt;
                            &lt;li&gt;&lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot;</span><span class="s0">&gt;</span><span class="s2">1</span><span class="s0">&lt;/a&gt;&lt;/li&gt;</span>
                            &lt;li&gt;&lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot;</span><span class="s0">&gt;</span><span class="s2">2</span><span class="s0">&lt;/a&gt;&lt;/li&gt;</span>
                            &lt;li&gt;&lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot;</span><span class="s0">&gt;</span><span class="s2">3</span><span class="s0">&lt;/a&gt;&lt;/li&gt;</span>
                            &lt;li&gt;&lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot;</span><span class="s0">&gt;</span><span class="s2">4</span><span class="s0">&lt;/a&gt;&lt;/li&gt;</span>
                            &lt;li&gt;&lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot;</span><span class="s0">&gt;</span><span class="s2">5</span><span class="s0">&lt;/a&gt;&lt;/li&gt;</span>
                            &lt;li&gt;
                                &lt;a <span class="s1">href=</span><span class="s3">&quot;#&quot; </span><span class="s1">aria-label=</span><span class="s3">&quot;Next&quot;</span><span class="s0">&gt;</span>
                                    &lt;span <span class="s1">aria-hidden=</span><span class="s3">&quot;true&quot;</span><span class="s0">&gt;</span><span class="s8">&amp;raquo;</span><span class="s0">&lt;/span&gt;</span>
                                &lt;/a&gt;
                            &lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/nav&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
</body>
</html>